﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

using ArkanoidX.Objects;
using ArkanoidX.RacketStates;

namespace ArkanoidX.Gums
{
    public class FreeRacketSwitcher : Gum
    {
        public FreeRacketSwitcher(Game game, Texture2D texture, Bricks bricks)
            : base(game, texture, bricks)
        {
            Score = 6;
        }

        public override void Act(Racket racket)
        {
            racket.TurnToState(typeof(FreeState));
        }

    }
}
